home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Technotools
/
Technotools (Chestnut CD-ROM)(1993).ISO
/
lang_c
/
cgraphix
/
invertsc.c
< prev
next >
Wrap
Text File
|
1986-04-30
|
344b
|
18 lines
/* «RM120»«PL99999»«TS4,8,12,16,20,24,28,32,36,40,44,48,52,56,60,64,68,72,76» */
#include <stdio.h>
#define EXTERN extern
#include <typedef.h>
void InvertScreen()
{
int i, j, k;
for (i = 0; i < 200; i++) {
k = BaseAddress(i);
for (j = 0; j < 80; j += 2)
pokew(k + j, GrafBase, (NOT peek(k + j, GrafBase)));
}
}